﻿using System;
using IQToolkit;
using IQToolkit.Data;
using Infrastucture.Factories;
using TimeSplicerModule.DataModels;
using TimeSplicerModule.DomainModels;

namespace TimeSplicerModule.Factories
{
    public interface ICategoryFactory : Infrastucture.Factories.IFactory<CategoryDataModel, CategoryModel>
    { }

    public class CategoryFactory : Factory<CategoryDataModel, CategoryModel>, ICategoryFactory
    {
        public CategoryFactory(DbEntityProvider provider, IEntityTable<CategoryDataModel> db)
            : base(provider, db)
        {

        }
    }
}
